home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / f1 / fractal.arj / TECLAS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-04  |  4.1 KB  |  113 lines

  1.  
  2.      /***************************************************************/
  3.  
  4. /*        Creado por Javier Trujillo Horcas el 22 de Julio de 1992        */
  5.  
  6.  
  7. /*  Este archivo cabecera contiene los códigos que se obtienen al pulsar  */
  8. /*  una tecla de control o las combinaciones de una de las letras del     */
  9. /*  alfabeto estandar, con las teclas CONTROL o ALT. Los nombres que se   */
  10. /*  utilizan para definir las teclas son los del teclado español. El uso  */
  11. /*  común es para una variable INT y se representan en Hexadecimal.       */
  12.  
  13.  
  14.  
  15.  
  16.     /****************************************************************/
  17.     /***********************  Teclas de control  ********************/
  18.     /****************************************************************/
  19.  
  20.                 #define    ESCAPE                0x011b
  21.                 #define F1                    0x3b00
  22.                 #define F2                    0x3c00
  23.                 #define F3                    0x3d00
  24.                 #define F4                    0x3e00
  25.                 #define F5                    0x3f00
  26.                 #define F6                    0x4000
  27.                 #define F7                    0x4100
  28.                 #define F8                    0x4200
  29.                 #define F9                    0x4300
  30.                 #define F10                    0x4400
  31.                 #define INSERTAR            0x5200
  32.                 #define SUPRIMIR            0x5300
  33.                 #define INICIO                0x4700
  34.                 #define FIN                    0x4f00
  35.                 #define RETROCEDER_PAGINA    0x4900
  36.                 #define AVANZAR_PAGINA        0x5100
  37.                 #define CURSOR_ARRIBA        0x4800
  38.                 #define CURSOR_DERECHA        0x4d00
  39.                 #define CURSOR_ABAJO        0x5000
  40.                 #define CURSOR_IZQUIERDA    0x4b00
  41.                 #define ESPACIO                0x3920
  42.                 #define INTRO                0x1c0d
  43.                 #define RETROCEDER            0x0e08
  44.                 #define TABULADO            0x0f09
  45.  
  46.  
  47.  
  48.     /****************************************************************/
  49.     /**************** Combinaciones de ALT+Alfabeto *****************/
  50.     /****************************************************************/
  51.  
  52.                 #define ALT_A                0x1e00
  53.                 #define ALT_B               0x3000
  54.                 #define ALT_C               0x2e00
  55.                 #define ALT_D               0x2000
  56.                 #define ALT_E               0x1200
  57.                 #define ALT_F               0x2100
  58.                 #define ALT_G               0x2200
  59.                 #define ALT_H               0x2300
  60.                 #define ALT_I               0x1700
  61.                 #define ALT_J               0x2400
  62.                 #define ALT_K               0x2500
  63.                 #define ALT_L               0x2600
  64.                 #define ALT_M               0x3200
  65.                 #define ALT_N               0x3100
  66.                 #define ALT_O               0x1800
  67.                 #define ALT_P               0x1900
  68.                 #define ALT_Q               0x1000
  69.                 #define ALT_R               0x1300
  70.                 #define ALT_S               0x1f00
  71.                 #define ALT_T               0x1400
  72.                 #define ALT_U               0x1600
  73.                 #define ALT_V               0x2f00
  74.                 #define ALT_W               0x1100
  75.                 #define ALT_X               0x2d00
  76.                 #define ALT_Y               0x1500
  77.                 #define ALT_Z               0x2c00
  78.                 #define ALT_ESPACIO         0x05ff
  79.  
  80.  
  81.     /****************************************************************/
  82.     /************** Combinaciones de CONTROL+Alfabeto ***************/
  83.     /****************************************************************/
  84.  
  85.                 #define CTRL_A                 0x1e01
  86.                 #define CTRL_B               0x3002
  87.                 #define CTRL_C               0x2e03
  88.                 #define CTRL_D               0x2004
  89.                 #define CTRL_E               0x1205
  90.                 #define CTRL_F               0x2106
  91.                 #define CTRL_G               0x2207
  92.                 #define CTRL_H               0x2308
  93.                 #define CTRL_I               0x1709
  94.                 #define CTRL_J               0x240a
  95.                 #define CTRL_K               0x250b
  96.                 #define CTRL_L               0x260c
  97.                 #define CTRL_M               0x320d
  98.                 #define CTRL_N               0x310e
  99.                 #define CTRL_O               0x180f
  100.                 #define CTRL_P               0x1910
  101.                 #define CTRL_Q               0x1011
  102.                 #define CTRL_R               0x1312
  103.                 #define CTRL_S               0x1f13
  104.                 #define CTRL_T               0x1414
  105.                 #define CTRL_U               0x1615
  106.                 #define CTRL_V               0x2f16
  107.                 #define CTRL_W               0x1117
  108.                 #define CTRL_X               0x2d18
  109.                 #define CTRL_Y               0x1519
  110.                 #define CTRL_Z               0x2c1a
  111.  
  112.  
  113.     /******************************************************************/